package com.wzcl.app.service;

import com.wzcl.app.dao.model.TopicInfo;
import com.wzcl.app.model.common.MyPage;
import com.wzcl.app.model.dto.TopicInfoDto;

import java.util.List;

public interface TopicInfoService extends BaseService<TopicInfo,TopicInfoDto>{

    TopicInfo addTopicInfo(TopicInfoDto topicInfoDto);

    TopicInfo delTopicInfoById(Integer id);

    TopicInfo updateTopicInfo(TopicInfoDto topicInfoDto);

    TopicInfo getTopicInfoById(Integer id);

    List<TopicInfo> getTopicInfoList(TopicInfoDto topicInfoDto);

    MyPage<TopicInfo> getTopicInfoPage(TopicInfoDto topicInfoDto);
}
